body,
ul,
li,
ol,
p,
span,
i,
input,
img,
textarea,
button,
iframe,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); //iso上点击某一元素会出现半透明灰色背景
}
html {
  width: 100%;
  height: 100%;
}
body {
  // max-width: 677px;
  height: 100%;
  min-height: 100vh;
  margin: 0 auto;
  // "Hiragino Sans GB", "PingFangSC-Light"都是苹果字体
  font-family: 'Hiragino Sans GB', 'PingFangSC-Light', 'Microsoft YaHei', Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: $content;
  -webkit-overflow-scrolling: touch; //控制在移动设备上是否使用回弹效果

  > .tag-tip-dialog-class {
    .van-dialog__header {
      font-size: 14px;
      font-weight: 600;
      line-height: 20px;
      color: $title;
    }
    .van-dialog__content {
      .van-dialog__message {
        padding-bottom: 5px;
        font-size: 13px;
        font-weight: 400;
        line-height: 22px;
        color: $tip-text-color;
      }
    }
  }
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
path,
select,
option {
  display: block;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
input,
textarea,
keygen,
select,
button {
  font-family: 'Hiragino Sans GB', 'PingFangSC-Light', 'Microsoft YaHei', Arial, sans-serif;
}
textarea {
  resize: none;
}
i,
address {
  font-style: normal;
}
ol,
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  &:hover {
    color: $theme;
  }
}
input:focus,
textarea:focus,
button,
select {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
img {
  display: block;
}

/* 布局 */
.clearfix {
  @include clearfix;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.center {
  @extend %center;
}
.ovh {
  overflow: hidden;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.cover {
  @extend %cover;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clamp {
  @include clamp;
}
.clamp1 {
  @include clamp(1);
}
.mc {
  margin: 0 auto;
}
.tac {
  text-align: center;
}
.tal {
  text-align: left;
}
.tar {
  text-align: right;
}
.lh24 {
  line-height: 24px;
}
.lh36 {
  line-height: 36px;
}

/* 宽度 */
.w10 {
  width: 10%;
}
.w20 {
  width: 20%;
}
.w25 {
  width: 25%;
}
.w33 {
  width: calc(100% / 3);
}
.w50 {
  width: 50%;
}
.w80 {
  width: 80%;
}
.w100 {
  width: 100%;
}

/* 边距 */
.m5 {
  margin: 5px;
}
.m10 {
  margin: 10px;
}
.m16 {
  margin: 16px !important;
}
.m20 {
  margin: 20px;
}
.ml5 {
  margin-left: 5px;
}
.ml10 {
  margin-left: 10px;
}
.ml20 {
  margin-left: 20px;
}
.mr5 {
  margin-right: 5px;
}
.mr10 {
  margin-right: 10px;
}
.mr20 {
  margin-right: 20px;
}
.mt0 {
  margin-top: 0;
}
.mt5 {
  margin-top: 5px;
}
.mt10 {
  margin-top: 10px;
}
.mt16 {
  margin-top: 16px;
}
.mt20 {
  margin-top: 20px;
}
.mt30 {
  margin-top: 30px;
}
.mb5 {
  margin-bottom: 5px;
}
.mb10 {
  margin-bottom: 10px;
}
.mb16 {
  margin-bottom: 16px;
}
.mb20 {
  margin-bottom: 20px;
}
.mb30 {
  margin-bottom: 30px;
}
.p5 {
  padding: 5px;
}
.p10 {
  padding: 10px;
}
.p20 {
  padding: 20px;
}
.p30 {
  padding: 30px;
}
.pl5 {
  padding-left: 5px;
}
.pl10 {
  padding-left: 10px;
}
.pl20 {
  padding-left: 20px;
}
.pr5 {
  padding-right: 5px;
}
.pr10 {
  padding-right: 10px;
}
.pr20 {
  padding-right: 20px;
}
.pt5 {
  padding-top: 5px;
}
.pt10 {
  padding-top: 10px;
}
.pt20 {
  padding-top: 20px;
}
.pb5 {
  padding-bottom: 5px;
}
.pb10 {
  padding-bottom: 10px;
}
.pb20 {
  padding-bottom: 20px;
}

/* 字体 */
h1,
h2,
h3 {
  font-weight: 400;
}
h4,
h5,
h6 {
  font-weight: 700;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3,
.ft18 {
  font-size: 18px;
}
h4,
.ft16 {
  font-size: 16px;
}
h5,
.ft14 {
  font-size: 14px;
}
h6,
.ft12 {
  font-size: 12px;
}
.text-success {
  color: $success;
}
.text-warning {
  color: $warning;
}
.text-error {
  color: $error;
}
.text-sub {
  color: $subColor;
}
.text-gray {
  color: $disabled;
}

.page-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loading-text {
  .el-loading-spinner {
    .circular {
      width: 30px !important;
      height: 30px !important;
    }
    .path,
    .el-loading-text {
      font-size: 14px;
      color: $subColor !important;
      stroke: $fourthColor;
    }
  }
}
.empty-page-content {
  .empty-box {
    min-height: 400px;
  }
}

.card {
  padding: 0 0 8px;
  margin: 0 0 16px;
  background-color: $white;
  box-shadow: 0 2px 5px $shadow1;
}

.card-title {
  padding: 0 0 0 16px;
}
.task-kanban {
  .task-kanban-title {
    width: 100%;
    padding: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: $title;
    text-align: center;
  }
  // 惠企家
  .task-kanban-info {
    .backlog-filter-layout {
      .van-dropdown-menu {
        .van-dropdown-menu__bar {
          background-color: $hui-custom-bg;
          .van-ellipsis {
            color: $blue-link;
          }
        }
      }
    }
  }
}
.add-form {
  .van-radio__icon--round .van-icon {
    border-radius: 2px !important;
  }
  .van-radio__icon--checked .van-icon {
    color: $blue18;
    background-color: $white;
    border: 1px solid $gray17;
  }
  input.van-field__control::-webkit-input-placeholder {
    color: $gray13;
  }
}

.van-tab--active {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: $purple;
}

.van-tabs__line {
  position: absolute;
  bottom: 15px;
  left: 0;
  z-index: 1;
  height: 3px;
  background-color: $purple;
  border-radius: 0;
}
